#include <stdio.h>
#include <stdlib.h>

typedef struct file {
    const char	*name;
    FILE		*file;
    int			 line;
} *file_t;

#define error(f, msg) do { \
	fprintf(stderr, "Error in %s line %i: %s\n", f->name, f->line, msg); \
	exit(1); } while(0)
